package com.lrkj.payfee.service;

import java.util.List;
import com.lrkj.payfee.domain.AdvicePayment;
import com.lrkj.common.core.service.BaseService;
import com.lrkj.payfee.vo.TooReceiptVo;

/**
 * 付款单Service接口
 *
 * @author yajun_ren
 * @date 2022-03-26
 */
public interface IAdvicePaymentService extends BaseService<AdvicePayment>
{
    /**
     * 查询付款单
     *
     * @param id 付款单ID
     * @return 付款单
     */
    public AdvicePayment selectAdvicePaymentById(String id);

    /**
     * 查询付款单列表
     *
     * @param advicePayment 付款单
     * @return 付款单集合
     */
    public List<AdvicePayment> selectAdvicePaymentList(AdvicePayment advicePayment);

    /**
     * 新增付款单
     *
     * @param advicePayment 付款单
     * @return 结果
     */
    public int insertAdvicePayment(AdvicePayment advicePayment);

    /**
     * 修改付款单
     *
     * @param advicePayment 付款单
     * @return 结果
     */
    public int updateAdvicePayment(AdvicePayment advicePayment);

    /**
     * 批量删除付款单
     *
     * @param ids 需要删除的付款单ID
     * @return 结果
     */
    public int deleteAdvicePaymentByIds(String[] ids);

    /**
     * 删除付款单信息
     *
     * @param id 付款单ID
     * @return 结果
     */
    public int deleteAdvicePaymentById(String id);

    /***
     * 查询已收款列表
     * **/
    public List<TooReceiptVo> tooReceiptlist(TooReceiptVo tooReceiptVo);
}
